home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / mawk10.zip / BI_FUNCT.H < prev    next >
C/C++ Source or Header  |  1991-10-05  |  2KB  |  85 lines

  1.  
  2. /********************************************
  3. bi_funct.h
  4. copyright 1991, Michael D. Brennan
  5.  
  6. This is a source file for mawk, an implementation of
  7. the AWK programming language.
  8.  
  9. Mawk is distributed without warranty under the terms of
  10. the GNU General Public License, version 2, 1991.
  11. ********************************************/
  12.  
  13.  
  14. /* $Log:    bi_funct.h,v $
  15.  * Revision 3.3.1.1  91/09/14  17:22:43  brennan
  16.  * VERSION 1.0
  17.  * 
  18.  * Revision 3.3  91/08/13  06:50:51  brennan
  19.  * VERSION .9994
  20.  * 
  21.  * Revision 3.2  91/06/28  04:16:06  brennan
  22.  * VERSION 0.999
  23.  * 
  24.  * Revision 3.1  91/06/07  10:26:54  brennan
  25.  * VERSION 0.995
  26.  * 
  27.  * Revision 2.3  91/05/16  12:19:26  brennan
  28.  * cleanup of machine dependencies
  29.  * 
  30.  * Revision 2.2  91/04/22  08:00:13  brennan
  31.  * prototype for bi_errmsg() under MSDOS
  32.  * 
  33.  * Revision 2.1  91/04/08  08:22:20  brennan
  34.  * VERSION 0.97
  35.  * 
  36. */
  37.  
  38. #ifndef  BI_FUNCT_H
  39. #define  BI_FUNCT_H  1
  40.  
  41. #include "symtype.h"
  42.  
  43. extern BI_REC  bi_funct[] ;
  44.  
  45. void PROTO(bi_init, (void) ) ;
  46.  
  47. /* builtin string functions */
  48. CELL *PROTO( bi_print, (CELL *) ) ;
  49. CELL *PROTO( bi_printf, (CELL *) ) ;
  50. CELL *PROTO( bi_length, (CELL *) ) ;
  51. CELL *PROTO( bi_index, (CELL *) ) ;
  52. CELL *PROTO( bi_substr, (CELL *) ) ;
  53. CELL *PROTO( bi_sprintf, (CELL *) ) ;
  54. CELL *PROTO( bi_split, (CELL *) ) ;
  55. CELL *PROTO( bi_match, (CELL *) ) ;
  56. CELL *PROTO( bi_getline, (CELL *) ) ;
  57. CELL *PROTO( bi_sub, (CELL *) ) ;
  58. CELL *PROTO( bi_gsub, (CELL *) ) ;
  59.  
  60. /* builtin arith functions */
  61. CELL *PROTO( bi_sin, (CELL *) ) ;
  62. CELL *PROTO( bi_cos, (CELL *) ) ;
  63. CELL *PROTO( bi_atan2, (CELL *) ) ;
  64. CELL *PROTO( bi_log, (CELL *) ) ;
  65. CELL *PROTO( bi_exp, (CELL *) ) ;
  66. CELL *PROTO( bi_int, (CELL *) ) ;
  67. CELL *PROTO( bi_sqrt, (CELL *) ) ;
  68. CELL *PROTO( bi_srand, (CELL *) ) ;
  69. CELL *PROTO( bi_rand, (CELL *) ) ;
  70.  
  71. /* other builtins */
  72. CELL *PROTO( bi_close, (CELL *) ) ;
  73. CELL *PROTO( bi_system, (CELL *) ) ;
  74.  
  75. #if  MSDOS
  76. CELL *PROTO(bi_errmsg, (CELL *) ) ;
  77. #endif
  78.  
  79. #ifdef THINK_C
  80. CELL *PROTO(bi_errmsg, (CELL *) ) ;
  81. #endif
  82.  
  83. #endif  /* BI_FUNCT_H  */
  84.  
  85.